package com.kingyea.app.market.Dictionary.dao;

import com.kingyea.app.market.Dictionary.bean.Dictionary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author
 * @version v1.0.0
 * @description DictionaryMapper
 * @date Created in 2018-02-23 17:02:59
 */
public interface DictionaryMapper {

    /**
     * 通过ID获取对象
     */
    Dictionary getById(@Param("id") Integer id);

    /**
     * 通过ID删除对象
     */
    void deleteById(@Param("id") Integer id);

    /**
     * 更新对象
     */
    void update(Dictionary obj);

    /**
     * 保存对象
     */
    void save(Dictionary obj);

    /**
     * 查询列表
     */
    List<Dictionary> list(Dictionary obj);

}
